import request from '@/utils/request'

// 查询解锁微信记录列表
export function listUnlockWechat(query) {
  return request({
    url: '/user/unlockWechat/list',
    method: 'get',
    params: query
  })
}

// 查询解锁微信记录详细
export function getUnlockWechat(id) {
  return request({
    url: '/user/unlockWechat/' + id,
    method: 'get'
  })
}

// 新增解锁微信记录
export function addUnlockWechat(data) {
  return request({
    url: '/user/unlockWechat',
    method: 'post',
    data: data
  })
}

// 修改解锁微信记录
export function updateUnlockWechat(data) {
  return request({
    url: '/user/unlockWechat',
    method: 'put',
    data: data
  })
}

// 删除解锁微信记录
export function delUnlockWechat(id) {
  return request({
    url: '/user/unlockWechat/' + id,
    method: 'delete'
  })
}
